package fr.umlv.m2.jee.portailEtudiant.service;

import fr.umlv.m2.jee.portailEtudiant.persistence.Course;
import fr.umlv.m2.jee.portailEtudiant.persistence.CourseDocument;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: soufiane
 * Date: 18/04/11
 * Time: 11:00
 * To change this template use File | Settings | File Templates.
 */
public class DisplayCourseDocument implements Serializable {
    private CourseDocument courseDocument;

    public DisplayCourseDocument(CourseDocument courseDocument) {
        this.courseDocument = courseDocument;
    }



    public String getName() {
        return courseDocument.getName();
    }

    public String getUserName() {
        return courseDocument.getUserName();
    }

     public void setCourse(Course course) {
        this.courseDocument.setCourse(course);
    }

    public Course getCourse() {
        return courseDocument.getCourse();
    }
    public void setId(long newId) {
        this.courseDocument.setId(newId);
    }

    public void setName(String newName) {
        this.courseDocument.setName(newName);
    }

    public void setUserName(String newUserName) {
        this.courseDocument.setUserName(newUserName);
    }


}
